<!DOCTYPE html>
<title>Element ready check for element not in a document</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../trusted-click.js"></script>
<div id="log"></div>
<script>
async_test(function(t)
{
    var div = document.createElement("div");
    document.onfullscreenchange = t.unreached_func("fullscreenchange event");
    document.onfullscreenerror = t.step_func_done();
    trusted_request(t, div, document.body);
});
</script>
